package com.yl.auth.model.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 刘致远
 * @datetime 2023/7/19 18:31
 * @description 类对象
 */
@Data
public class ChaFangVo {
    @ApiModelProperty("查房id")
    private Integer id;

    @ApiModelProperty("记录时间")
    @TableField(value = "jilu_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date jiluTime;

    @ApiModelProperty("老人id外键")
    private Long lid;

    @ApiModelProperty("老人姓名")
    @TableField(value = "name")
    private String lname;

    @ApiModelProperty("护工姓名")
    @TableField(value = "name")
    private String yname;

    @ApiModelProperty("楼层")
    @TableField(value = "name")
    private String lcname;

    @ApiModelProperty("房间号")
    @TableField(value = "room_no")
    private Integer roomNo;

    @ApiModelProperty("床位号")
    @TableField(value = "bed_no")
    private String bedNo;

    /**
     * 楼层房间床位拼接而成
     */
    @ApiModelProperty("床位字段")
    private String chuangwei;

    @ApiModelProperty("身份证号")
    @TableField(value = "id_number")
    private String idNumber;

    /**
     * 房间床位拼接而成
     */
    @ApiModelProperty("床位字段")
    private String chuang;

    @ApiModelProperty("老人头像")
    private String avatar;


    /**
     * 老人编号
     */
    @ApiModelProperty("老人编号")
    private Long laorenId;

    /**
     * 进食1正常,2轻度依赖,3重度依赖)
     */
    @ApiModelProperty("进食")
    private Integer jinshi;

    /**
     * 洗澡1正常,2轻度依赖,3重度依赖)
     */
    @ApiModelProperty("洗澡")
    private Integer xizao;

    /**
     * 修饰1正常,2轻度依赖,3重度依赖)
     */
    @ApiModelProperty("修饰")
    private Integer xiushi;

    /**
     * 穿衣服1正常,2轻度依赖,3重度依赖)
     */
    @ApiModelProperty("穿衣服")
    private Integer chuanyi;

    /**
     * 如厕1正常,2轻度依赖,3重度依赖)
     */
    @ApiModelProperty("如厕")
    private Integer ruce;

    /**
     * 移动1正常,2轻度依赖,3重度依赖)
     */
    @ApiModelProperty("移动")
    private Integer yidong;

    /**
     * 认知能力1正常,2轻度依赖,3重度依赖)
     */
    @ApiModelProperty("认知")
    private Integer renzhi;

    /**
     * 情绪能力1正常,2轻度依赖,3重度依赖)
     */
    @ApiModelProperty("情绪")
    private Integer qingxu;

    /**
     * 视觉能力1正常,2轻度依赖,3重度依赖)
     */
    @ApiModelProperty("视觉")
    private Integer shijue;

    /**
     * 听力(1正常,2轻度依赖,3重度依赖)
     */
    @ApiModelProperty("听力")
    private Integer tingli;

    /**
     * 其他特殊情况说明
     */
    @ApiModelProperty("其他特殊情况说明")
    private String qita;

    @ApiModelProperty("体温")
    private String tiwen;

    @ApiModelProperty("血压")
    private String xueya;

    @ApiModelProperty("脉搏")
    private String maibo;

    @ApiModelProperty("呼吸")
    private String huxi;

    @ApiModelProperty("建议")
    private String jianyi;
}
